package com.threeti.mecool.core.domain.model.plan.aspects;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

import org.springframework.beans.factory.annotation.Configurable;

import com.threeti.mecool.core.domain.model.plan.pojo.Task;

/**
 * <p/>
 * zhaoxu @ 2012-05-16 10:27
 * <p/>
 */
privileged aspect Task_AJ_Entity {
	declare @type: Task:@Configurable;
	declare @type: Task:@Entity;
  declare @type: Task:@Table(name = "DM_WF_TASK");
	
	declare @field: Long Task.id:@Id;
	declare @field: Long Task.id:@GeneratedValue(strategy = GenerationType.AUTO);
	declare @field: Integer Task.version:@Version;
}
